﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WFAEF6.Model
{
    public class Category
    {
        //注意此处， 此处使用 需要 ObservableListSource
        private readonly ObservableListSource<Product> _products =
            new ObservableListSource<Product>();

        public int CategoryId { get; set; }
        public string Name { get; set; }
        public virtual ObservableListSource<Product> Products { get { return _products; } }
    }
}
